//
//  AppDelegate.h
//  HTAppBeauty
//
//  Created by standychen on 14-11-17.
//  Copyright (c) 2014年 HT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "APService.h"
#import "AsyncSocket.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>{
    NSString *backVersion;
    NSString *deviceTokenID;
}

@property (nonatomic, retain) NSString *backVersion;

@property (nonatomic, retain) NSString *deviceTokenID;

@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


@end

